﻿<controls:ChildWindow xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="wzSqlAdmin.pagine.Connessione"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="379" Height="240" 
           Title="Connessione">
    <Grid x:Name="LayoutRoot" Margin="2" Height="211" Width="362">
        <Grid.RowDefinitions>
            <RowDefinition Height="170" />
            <RowDefinition Height="60" />
             
        </Grid.RowDefinitions>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right"  Margin="0,8,12,29" Grid.Row="1" TabIndex="11" Padding="0" />
        <Button x:Name="OKButton" Content="Connect" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Left"  Grid.Row="1" TabIndex="10" Margin="183,8,0,29" />
        <sdk:TabControl Height="170" HorizontalAlignment="Left" Margin="-2,-2,0,0" Name="ConnType" VerticalAlignment="Top" Width="350">
            <sdk:TabItem Header="Sql Server" Name="tabSql">
                <Grid Height="143" Width="374">
                    <sdk:Label Content="Server/IP:" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="37,10,0,110" Name="label1" Width="60" />
                    <sdk:Label Content="User:" Height="23" HorizontalAlignment="Left" Margin="63,65,0,0" Name="label2" VerticalAlignment="Top" Width="34" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="103,61,0,0" Name="SqlUser" TabIndex="4" VerticalAlignment="Top" Width="120" />
                    <PasswordBox Height="23" HorizontalAlignment="Right" Margin="0,95,151,0" Name="SqlPwd" TabIndex="5" VerticalAlignment="Top" Width="120" />
                    <sdk:Label Content="Password:" Height="23" HorizontalAlignment="Left" Margin="37,99,0,0" Name="label4" VerticalAlignment="Top" Width="60" />
                    <CheckBox Content="Trusted Connection" Height="16" HorizontalAlignment="Left" IsTabStop="False" Margin="103,39,0,0" Name="SqlTrusted" TabIndex="2" VerticalAlignment="Top" Width="201" />
                    <sdk:AutoCompleteBox Height="23" HorizontalAlignment="Right" Margin="0,10,151,0" Name="SqlServerChoice" TabIndex="1" VerticalAlignment="Top" Width="120" />
                </Grid>
            </sdk:TabItem>
            <sdk:TabItem Header="MySql" Name="tabMySql">
                <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                    <sdk:Label Content="Server/IP:" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="37,12,0,102" Name="label3" Width="60" />
                    <sdk:Label Content="User:" Height="23" HorizontalAlignment="Left" Margin="62,72,0,0" Name="label5" VerticalAlignment="Top" Width="35" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="103,68,0,0" Name="mySqlUser" TabIndex="8" VerticalAlignment="Top" Width="120" />
                    <PasswordBox Height="23" HorizontalAlignment="Right" Margin="0,99,115,0" Name="mySqlPwd" TabIndex="9" VerticalAlignment="Top" Width="120" />
                    <sdk:Label Content="Password:" Height="23" HorizontalAlignment="Left" Margin="37,103,0,0" Name="label6" VerticalAlignment="Top" Width="60" />
                    <sdk:AutoCompleteBox Height="23" HorizontalAlignment="Right" Margin="0,10,19,0" Name="mySqlServerChoice" TabIndex="6" VerticalAlignment="Top" Width="216" />
                    <sdk:Label Content="Port:" Height="23" HorizontalAlignment="Left" Margin="62,43,0,0" Name="label7" VerticalAlignment="Top" Width="35" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="103,39,0,0" Name="mySqlPort" TabIndex="7" VerticalAlignment="Top" Width="51" Text="3306" />
                </Grid>
            </sdk:TabItem>
        </sdk:TabControl>
    </Grid>
</controls:ChildWindow>